package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {

    public void add(Setmeal setmeal);

    public void setSetmealAndCheckGroup(Map<String, Integer> map);

    public Page<Setmeal> selectByCondition(String queryString);

    public List<Setmeal> findAll();

    public Setmeal findById(int id);

    public List<Map<String,Object>> findSetmealCount();

    Setmeal findByIdOrder(Integer setmealId);

    String findsetmealNameById(Integer setmealId);

    //根据阶段时间内查询套餐
   public List<String> selectSetmealname(Map<String, String> map);

   //根据套餐查询已到诊收入
   public List<Map<String, Object>> selectBySetmealIncome(Map map);
}